package cn.itcast.cd.service;

import java.util.List;

import cn.itcast.cd.domain.User;
import cn.itcast.cd.query.IQuery;
import cn.itcast.cd.resultPage.ResultPage;

public interface IUserService {

	public void save(User user);
	
	public User get(Long id);
	
	public void delete(Long id);
	
	public void update(User user);
	
	public ResultPage query(String hql,Object[] params,int start,int limit);
	
	public ResultPage queryEntity(IQuery query);
}
